<script setup>
import { onMounted, ref } from 'vue'
import Header from '../components/Header'
import UserModule from '@/components/UserModule'
import NoticeModule from '@/components/NoticeModule'
import OrderModule from '@/components/OrderModule'
import SightModule from '@/components/SightModule'
import TravelModule from '@/components/TravelModule'
import RouteModule from '@/components/RouteModule'
import MyInfo from '@/components/MyInfo'
const tabPosition = ref('left')
onMounted(() => {
})

</script>
<template>
  <div>
    <el-container class="outerContainer">
      <Header></Header>
      <el-container>
        <el-main>
          <el-tabs :tab-position="tabPosition">
            <MyInfo/>
            <UserModule/>
            <OrderModule/>
            <NoticeModule/>
            <SightModule/>
            <RouteModule/>
            <TravelModule/>
          </el-tabs>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style>
.outerContainer{
  flex-direction: column !important;
}
.tab-item{
  padding: 2px 10px;
}
.el-tabs__item:hover{
  background-color: #bfccda;
}

</style>
